<script setup lang="ts">
import SafeTopContainer from '@/components/SafeTopContainer/SafeTopContainer.vue'
import useUserStore from '@/store/modules/user.ts'

const userStore = useUserStore()
const userInfo = computed(() => userStore.userInfo)
</script>

<template>
  <safe-top-container :padding-bottom="15" :show-bg-color="true" bg-color="#fff">
    <wd-navbar left-arrow custom-class="!bg-transparent" title="个人信息" :bordered="false" @click-left="navigateBack" />
  </safe-top-container>
  <div class="profile-container">
    <wd-cell-group border>
<!--      <wd-cell title="头像" value="" size="large" />-->
      <wd-cell title="昵称" :value="userInfo.customerName" size="large" />
      <wd-cell title="联系方式" :value="userInfo.customerPhone" size="large" />
      <wd-cell title="客户类型" :value="userInfo.customerTypeDict" size="large" />
    </wd-cell-group>
  </div>
</template>

<style scoped>

</style>
